package com.example.springbootlearn.testentity;

/**
 * @author caiji Mr. Li
 * @date 2020/4/13 15:29
 */
public class Node {
    public int data;// 数据域
    public Node next;// 指针域

    public Node(int Data) {
        // super();
        this.data = Data;
    }

    public int getData() {
        return data;
    }

    public void setData(int data) {
        this.data = data;
    }

    public Node getNext() {
        return next;
    }

    public void setNext(Node next) {
        this.next = next;
    }

}
